package com.example.baiduapi.Alibaba.Chat.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ChatResponse {
    Output output;
    Usage usage;
    String request_id;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @ToString
    public class Output{
        public String text;
        public String finish_reason;
    }
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @ToString
    public class Usage{
        public String output_tokens;
        public String input_tokens;
    }
}